﻿using System;

namespace Cms.Domain
{
    public class MenuItemTranslation : ICloneable
    {
        public MenuItemTranslation()
        {
            Name = string.Empty;
        }

        private MenuItemTranslation(MenuItemTranslation original)
        {
            Name = original.Name;
            Url = original.Url;
            DefaultImage = original.DefaultImage;
            ActiveImage = original.ActiveImage;
            DefaultHoverImage = original.DefaultHoverImage;
            ActiveHoverImage = original.ActiveHoverImage;
        }

        public string Name { get; set; }
        
        public string Url { get; set; }

        public MediaFile DefaultImage { get; set; }

        public MediaFile DefaultHoverImage { get; set; }

        public MediaFile ActiveImage { get; set; }

        public MediaFile ActiveHoverImage { get; set; }

        #region ICloneable Members

        public object Clone()
        {
            return new MenuItemTranslation(this);
        }

        #endregion

    }
}